package com.youcash.ZyWallet_spring.dao;

import com.youcash.ZyWallet_spring.entity.NewsList;
import com.youcash.ZyWallet_spring.general.GeneralDAO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface NewsListMapper extends GeneralDAO<NewsList> {

    public int updateStatusById(@Param("id") int id,
                                @Param("status") int status);

    public int updateInfoById(@Param("id") int id,
                              @Param("title") String title,
                              @Param("article") String article,
                              @Param("updatetime") String updatetime);

}